#ifndef VOICECHATUI_H
#define VOICECHATUI_H

#include <QWidget>
class User;

namespace Ui {
class VoiceChatUI;
}

class VoiceChatUI : public QWidget
{
    Q_OBJECT

public:
    explicit VoiceChatUI(QWidget *parent = 0);
    ~VoiceChatUI();

private slots:
    void on_pushButtonRecord_clicked();

    void on_pushButtonPlay_clicked();

    void on_pushButtonFinish_clicked();

    void on_pushButtonConnect_clicked();

    void onFriendChanged(int index);

    void SolveMessage();

private:
    Ui::VoiceChatUI *ui;
    User* _curUser;
};

#endif // VOICECHATUI_H
